package com.yl.pattern.behavioralmodel.memento.white_box;

/**
 * @Author 小羊
 * @Date 1/11/2024下午 5:19
 * @ClassName RoleStateCaretaker
 * @Description 备忘录管理对象
 */
public class RoleStateCaretaker {
    private RoleStateMemento roleStateMemento;

    public RoleStateMemento getRoleStateMemento() {
        return roleStateMemento;
    }

    public void setRoleStateMemento(RoleStateMemento roleStateMemento) {
        this.roleStateMemento = roleStateMemento;
    }
}
